package hottargui.gui;

import hottargui.framework.Game;
import minidraw.framework.DrawingEditor;
import minidraw.framework.Tool;
import hottargui.view.*;

public class BetaGuiToolFactory implements GuiToolFactory {
	public Tool getNewGameTool(DrawingEditor editor, Game game) {
		return new TurnTribeCardToolDecorator(editor, game, 
				new NewGameTool(editor, game));
	}

	public Tool getMoveTool(DrawingEditor editor, Game game) {
		return new SkipButtonToolDecorator(editor, game,
				new UnitMoveTool(editor, game));
	}

	public Tool getBuyTool(DrawingEditor editor, Game game) {
		return new SkipButtonToolDecorator(editor, game,
				new UnitMoveTool(editor, game));
	}

	public Tool getAttackTool(DrawingEditor editor, Game game) {
		return new YieldButtonToolDecorator(editor, game, 
				new RollDieToolDecorator(editor, game, 
						new UnitMoveTool(editor, game)));
	}

	public Tool getDefendTool(DrawingEditor editor, Game game) {
		return new RollDieTool(editor, game);
	}

	public Tool getEndTurnTool(DrawingEditor editor, Game game) {
		return new TurnTribeCardTool(editor, game); 
	}

	public Tool getEndRoundTool(DrawingEditor editor, Game game) {
		return new TurnTribeCardTool(editor, game); 
	}

	public Tool getEndGameTool(DrawingEditor editor, Game game) {
		return new EndGameTool(editor, game);
	}
}
